cohomology(r,C)This computes the reduced cohomology in degree r of the labeled cell complex. In particular, it constructs the co-chain complex by dualizing by the label ring, and takes the homology of that chain complex. As an example we can compute the cohomology of the wedge of two circles.
|
|
|
|
|
|
|
|
Or in a more interesting case, we have the cohomology over the integers of $\mathbb{RP}^3$.
|
|
|
|
|
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/CellularResolutions/doc.m2:760:0.